import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap'
import '@/assets/css/custom.css'
import '@/assets/css/animations.css'

// 添加Bootstrap Icons和Font Awesome的CDN链接
const bootstrapIconsLink = document.createElement('link')
bootstrapIconsLink.rel = 'stylesheet'
bootstrapIconsLink.href = 'https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css'
document.head.appendChild(bootstrapIconsLink)

// 添加Font Awesome图标库（替代Glyphicons）
const fontAwesomeLink = document.createElement('link')
fontAwesomeLink.rel = 'stylesheet'
fontAwesomeLink.href = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css'
document.head.appendChild(fontAwesomeLink)

createApp(App).use(router).mount('#app')
